<template>
  <div class="from">
    <el-tree
      ref="tree"
      :data="treearr"
      show-checkbox
      default-expand-all
      node-key="label"
      :default-checked-keys="userForm.router"
      :props="defaultProps"
    ></el-tree>
  </div>
</template>